#ifndef RISING_STAR_CONFIG_H
#define RISING_STAR_CONFIG_H

#include <list>
#include <iostream>
#include <map>
#include <string>
#include <sstream>
#include <stdio.h>
#include <unistd.h>  
#include <stdlib.h>  



#include <boost/asio.hpp>
#include <boost/thread.hpp>
#include <boost/throw_exception.hpp>

using namespace std;

typedef boost::shared_ptr<boost::asio::io_service> IOServicePtr;
typedef boost::shared_ptr<boost::asio::io_service::work> WorkPtr;
typedef boost::shared_ptr<boost::thread> ThreadPtr;
typedef unsigned short	WORD;
/*
开关量定义
*/

#define CONF_DEBUG_ENABLE 				1 			//允许调试信息输出


/*
变量值定义
*/

#define CONF_MAX_EXT_TABLE_SEM_COUNT	20					//扩展表最大信号数量

#define CONF_MAX_CPU_RATES				90					//最大CPU使用率
#define CONF_MAX_MEM_RATES				80					//最大内存使用率

#define CONF_MAX_TASK_CLOSE_TIMEOUT		10					//任务退出最大超时时间
#define CONF_MAX_TASK_COUNT				1000				//最大任务数量
#define CONF_MIN_TASK_COUNT				10					//最小任务数

#define CONF_SESSION_TIMEOUT			10					//连接超时	
#define CONF_MAX_SESSION_COUNT			6000				//最大会话数

#define CONF_OBJECT_CFG_PATH			"/var/RisingStar/ParkingSystem/ObjectCfg"	//存储配置的目录
#define CONF_DIC_PATH					"/home/hjy/dic.xml"
#define CONF_DATABASE_FILTER_WORD		"'\"%(like)=<>(from)(update)(insert)"

#include "Trace.h"





#endif